﻿namespace _21_Parallel.Invoke
{
    internal class Program
    {
        static void Main(string[] args)
        {
            
          Parallel.Invoke(Foo,Bar);
            Console.ReadLine() ;
            
        }

        public static void Foo()=>
            Console.WriteLine("foo");
        public static void Bar() =>
          Console.WriteLine("bar");


    }
}
